<template>
	<view class="yindao">
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onReady() {
			// return ;
			setTimeout(()=>{//设置延时 this.$Router未加载完
			console.log('123')
			// return ;
				if(!uni.getStorageSync('Login')){//没有账户
					this.$Router.replaceAll({
							path: '/pages/login/wecome'
						})
				}else{
					this.$Router.replaceAll({
						path: '/pages/home/home'
					})
				}
			},2800)
		}
	}
</script>

<style lang="scss">
.yindao{
	@include background;
	height: 100vh;
	// border: 1px solid red;
	background-image: url(../../static/yindao.gif);
}
</style>
